package homework;

public class Day02Homework2 {
    public static void main(String[] args) {
        //1
        int a;
        int b,c,d;
        int e = 10;
        int f;
        f = 20;
        int g = 5;
        int h = g+10;
        System.out.println(h);;
        g = g+10;
        int _qwer,$sdf,wed;
        //int a*h,2y,class;
        int age;
        //2
        System.out.println("7除以2的整数:"+(7/2));
        System.out.println(2/5);
        System.out.println(7/2.0);
        int a11=2147483647;
        a11=a11+1;
        System.out.println(a11);
        long az = 25L;
        //long az = 10000000000;
        long ac = 10000000000L;
        long ad = 1000000000*2*10L;
        long ae = 1000000000*3*10L;
        System.out.println(ae);
        long af = 1000000000L*3*10;
        System.out.println(af);
        //4
        double ba = 2.11;
        float bb = 9.85F;
        double bc = 3.0,bd = 2.9;
        System.out.println(bc-bd);
        //5
        boolean ca = true;
        boolean cb = false;

        //6
        char c1 = '女';
        char c2 = 'f';
        char c3 = ' ';
        char c5 = '*';
        char c4 = '\'';

        //7
        int da = 1;
        long db = da;
        int dc = (int)db;

        long qa = 34;
        double qb = qa;

        long ff =10000000000L;
        int gg = (int)ff;
        System.out.println(gg);
        double hh = 25.233;
        int i = (int)hh;
        System.out.println(i);
        //8
        byte b1 = 1;
        byte b2 = 2;
        byte b3 = (byte)(b1+b2);
        System.out.println(2+2);
        System.out.println(2+'2');
        System.out.println('2'+'2');


    }
}
